<?php
echo $_POST['newgal'];
echo "Fotogalerija<br><br>";
echo "<a href='' id='sukurti'>Sukurti fotogalerija pavadinimu:</a><input type='text' id='newgal' style='width:100px'>";
echo "<br><br><a href=''>Panaikinti fotogalerija</a><span id='b'></span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select id='deletegalerija'>
</select>
";
echo "<br><br>Nuotraukos talpinimas |----------------------------------<br>Pasirinkti fotogalerija kur norite talpinti";
echo "
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><br><select id='selectedgal' name='kintamasis'>
</select>
<br><br>";
include_once("uploader.php");
echo "<br>___________________________________________________________________________________________________________________________";
echo "<br>"."


<form id='sgs' method='post' action='index.php?module=fotos'>
<select id='selectedgal2' name='kintamasis'>
</select>Pasirink galerija
</form>
<br>
Dabar pasirinkta galerija pavadinimu:<strong><span id='galname'>$_POST[kintamasis]</span></strong><br>";



echo "<div id='gallery'>";
include_once("lightbox.php");
echo "</div>";
echo "</body></html>";



?>